import request from '@/utils/request'

export function getMemberCommentList(params) {
  return request({
    url: process.env.ADMIN_API + '/memberComment/getList',
    method: 'post',
    data: params
  })
}

export function addMemberComment(params) {
  return request({
    url: process.env.ADMIN_API + '/memberComment/add',
    method: 'post',
    data: params
  })
}

export function editMemberComment(params) {
  return request({
    url: process.env.ADMIN_API + '/memberComment/edit',
    method: 'post',
    data: params
  })
}

export function deleteMemberComment(params) {
  return request({
    url: process.env.ADMIN_API + '/memberComment/delete',
    method: 'post',
    data: params
  })
}

export function deleteBatchMemberComment(params) {
  return request({
    url: process.env.ADMIN_API + '/memberComment/deleteBatch',
    method: 'post',
    data: params
  })
}

// 审批评论
export function auditMemberComment(params) {
  return request({
    url: process.env.ADMIN_API + '/memberComment/audit',
    method: 'post',
    data: params
  })
}
